home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
fcc110
/
fcc.bas
next >
Wrap
BASIC Source File
|
1995-05-09
|
2KB
|
51 lines
Global Const FCC_RDONLY = (1)
Global Const FCC_CREATE = (2)
Global Const FCC_RDWR = (4)
Global Const FCC_WCACHE = (8)
Global Const FCC_SEEKSET = (1)
Global Const FCC_SEEKCUR = (2)
Global Const FCC_SEEKEND = (3)
Global Const FCC_ERR_OPEN = (1)
Global Const FCC_ERR_WRITE = (2)
Global Const FCC_ERR_READ = (3)
Global Const FCC_ERR_CLOSE = (4)
Global Const FCC_ERR_SEEK = (5)
Global Const FCC_ERR_CACCESS = (6)
Global Const FCC_ERR_VERSION = (7)
Global Const FCC_ERR_NOMEM = (8)
Global Const FCC_ERR_PARAM = (9)
Global Const FCC_ERR_CANCELED = (10)
Global Const FCC_ERR_UNKNOWN = (11)
Global Const FCC_CNONE = (-1)
Global Const FCC_CDEFAULT = (0)
Type FCC_COPYT
hWnd As Integer
message As Integer
wparam As Integer
lparam As Long
cancel As Integer
length As Long
plength As Long
curpos As Long
End Type
Declare Function FCC_open Lib "FCCWIN.DLL" (h%, ByVal s$, ByVal flags%, ByVal compress%, ByVal kbytes%, ByVal blocksize%) As Integer
Declare Function FCC_close Lib "FCCWIN.DLL" (ByVal handle%) As Integer
Declare Function FCC_read Lib "FCCWIN.DLL" (ByVal handle%, buff As Any, ByVal bytes&, rbytes&) As Integer
Declare Function FCC_write Lib "FCCWIN.DLL" (ByVal handle%, buff As Any, ByVal bytes&, wbytes&) As Integer
Declare Function FCC_seek Lib "FCCWIN.DLL" (ByVal handle%, ByVal ofs&, ByVal where%, newpos&) As Integer
Declare Function FCC_tell Lib "FCCWIN.DLL" (ByVal handle%, pos&) As Integer
Declare Function FCC_length Lib "FCCWIN.DLL" (ByVal handle%, ln&) As Integer
Declare Function FCC_plength Lib "FCCWIN.DLL" (ByVal handle%, ln&) As Integer
Declare Function FCC_exists Lib "FCCWIN.DLL" (ByVal s$, v%, l&, p&) As Integer
Declare Function FCC_version Lib "FCCWIN.DLL" () As Integer
Declare Function FCC_copy Lib "FCCWIN.DLL" (ByVal src$, ByVal dst$, ByVal blksize%, ByVal compress%, p As Any) As Integer